import request from "@/utils/Request";

/**
 * 获取推荐列表
 */

export const getRecommendListApi = (sellerProduct) => {
    return request.post('orders/matchDescription',sellerProduct)
}
/**
 * 加载选中商品
 * @param ids
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const loadSelectProductApi = (ids) => {
    return request.post('sellerProduct/selectByIds',ids)
}
/**
 * 创建订单
 * @param data
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const createOrderApi = (data) => {
    return request.post('orders/createOrder',data)
}
